/**
 * 
 */
package biz.modelx.precise.usecase.ui.model.eusecase.diagram.part;

import org.eclipse.core.resources.IStorage;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.ui.IStorageEditorInput;

import remato.client.model.UseCaseDefinitionWrapper;
import remato.client.view.util.EditorInput;

/**
 * @author PEide3
 *
 */
public class UseCaseModelStorageEditorInput extends EditorInput implements IStorageEditorInput {
	
	private UseCaseModelStorage useCaseModelStorage ;
	
	public UseCaseModelStorageEditorInput(UseCaseDefinitionWrapper useCaseDefinitionWrapper) {
		super(useCaseDefinitionWrapper);
		this.useCaseModelStorage = new UseCaseModelStorage (useCaseDefinitionWrapper);
	}

	public IStorage getStorage() throws CoreException {
		return useCaseModelStorage;
	}

}

